/**
 * <copyright>
 * </copyright>
 *

 */
package de.rwth.adroidGuiLang.util;

import de.rwth.adroidGuiLang.*;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see de.rwth.adroidGuiLang.AdroidGuiLangPackage
 * @generated
 */
public class AdroidGuiLangAdapterFactory extends AdapterFactoryImpl
{
  /**
   * The cached model package.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected static AdroidGuiLangPackage modelPackage;

  /**
   * Creates an instance of the adapter factory.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public AdroidGuiLangAdapterFactory()
  {
    if (modelPackage == null)
    {
      modelPackage = AdroidGuiLangPackage.eINSTANCE;
    }
  }

  /**
   * Returns whether this factory is applicable for the type of the object.
   * <!-- begin-user-doc -->
   * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
   * <!-- end-user-doc -->
   * @return whether this factory is applicable for the type of the object.
   * @generated
   */
  @Override
  public boolean isFactoryForType(Object object)
  {
    if (object == modelPackage)
    {
      return true;
    }
    if (object instanceof EObject)
    {
      return ((EObject)object).eClass().getEPackage() == modelPackage;
    }
    return false;
  }

  /**
   * The switch that delegates to the <code>createXXX</code> methods.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected AdroidGuiLangSwitch<Adapter> modelSwitch =
    new AdroidGuiLangSwitch<Adapter>()
    {
      @Override
      public Adapter caseWindow(Window object)
      {
        return createWindowAdapter();
      }
      @Override
      public Adapter caseBox(Box object)
      {
        return createBoxAdapter();
      }
      @Override
      public Adapter caseOneColumnBox(OneColumnBox object)
      {
        return createOneColumnBoxAdapter();
      }
      @Override
      public Adapter caseTwoColumnBox(TwoColumnBox object)
      {
        return createTwoColumnBoxAdapter();
      }
      @Override
      public Adapter caseTwoColumnLine(TwoColumnLine object)
      {
        return createTwoColumnLineAdapter();
      }
      @Override
      public Adapter caseThreeColumnBox(ThreeColumnBox object)
      {
        return createThreeColumnBoxAdapter();
      }
      @Override
      public Adapter caseThreeColumnLine(ThreeColumnLine object)
      {
        return createThreeColumnLineAdapter();
      }
      @Override
      public Adapter caseRadioBox(RadioBox object)
      {
        return createRadioBoxAdapter();
      }
      @Override
      public Adapter caseSeperatorLine(SeperatorLine object)
      {
        return createSeperatorLineAdapter();
      }
      @Override
      public Adapter caseRadioButton(RadioButton object)
      {
        return createRadioButtonAdapter();
      }
      @Override
      public Adapter caseCheckedRadioButton(CheckedRadioButton object)
      {
        return createCheckedRadioButtonAdapter();
      }
      @Override
      public Adapter caseUncheckedRadioButton(UncheckedRadioButton object)
      {
        return createUncheckedRadioButtonAdapter();
      }
      @Override
      public Adapter caseGuiElement(GuiElement object)
      {
        return createGuiElementAdapter();
      }
      @Override
      public Adapter caseButton(Button object)
      {
        return createButtonAdapter();
      }
      @Override
      public Adapter casePlaceholder(Placeholder object)
      {
        return createPlaceholderAdapter();
      }
      @Override
      public Adapter caseImage(Image object)
      {
        return createImageAdapter();
      }
      @Override
      public Adapter caseCheckBox(CheckBox object)
      {
        return createCheckBoxAdapter();
      }
      @Override
      public Adapter caseCheckedCheckBox(CheckedCheckBox object)
      {
        return createCheckedCheckBoxAdapter();
      }
      @Override
      public Adapter caseUncheckedCheckBox(UncheckedCheckBox object)
      {
        return createUncheckedCheckBoxAdapter();
      }
      @Override
      public Adapter caseLabel(Label object)
      {
        return createLabelAdapter();
      }
      @Override
      public Adapter caseEditText(EditText object)
      {
        return createEditTextAdapter();
      }
      @Override
      public Adapter defaultCase(EObject object)
      {
        return createEObjectAdapter();
      }
    };

  /**
   * Creates an adapter for the <code>target</code>.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param target the object to adapt.
   * @return the adapter for the <code>target</code>.
   * @generated
   */
  @Override
  public Adapter createAdapter(Notifier target)
  {
    return modelSwitch.doSwitch((EObject)target);
  }


  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.Window <em>Window</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.Window
   * @generated
   */
  public Adapter createWindowAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.Box <em>Box</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.Box
   * @generated
   */
  public Adapter createBoxAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.OneColumnBox <em>One Column Box</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.OneColumnBox
   * @generated
   */
  public Adapter createOneColumnBoxAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.TwoColumnBox <em>Two Column Box</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.TwoColumnBox
   * @generated
   */
  public Adapter createTwoColumnBoxAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.TwoColumnLine <em>Two Column Line</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.TwoColumnLine
   * @generated
   */
  public Adapter createTwoColumnLineAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.ThreeColumnBox <em>Three Column Box</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.ThreeColumnBox
   * @generated
   */
  public Adapter createThreeColumnBoxAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.ThreeColumnLine <em>Three Column Line</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.ThreeColumnLine
   * @generated
   */
  public Adapter createThreeColumnLineAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.RadioBox <em>Radio Box</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.RadioBox
   * @generated
   */
  public Adapter createRadioBoxAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.SeperatorLine <em>Seperator Line</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.SeperatorLine
   * @generated
   */
  public Adapter createSeperatorLineAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.RadioButton <em>Radio Button</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.RadioButton
   * @generated
   */
  public Adapter createRadioButtonAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.CheckedRadioButton <em>Checked Radio Button</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.CheckedRadioButton
   * @generated
   */
  public Adapter createCheckedRadioButtonAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.UncheckedRadioButton <em>Unchecked Radio Button</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.UncheckedRadioButton
   * @generated
   */
  public Adapter createUncheckedRadioButtonAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.GuiElement <em>Gui Element</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.GuiElement
   * @generated
   */
  public Adapter createGuiElementAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.Button <em>Button</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.Button
   * @generated
   */
  public Adapter createButtonAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.Placeholder <em>Placeholder</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.Placeholder
   * @generated
   */
  public Adapter createPlaceholderAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.Image <em>Image</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.Image
   * @generated
   */
  public Adapter createImageAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.CheckBox <em>Check Box</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.CheckBox
   * @generated
   */
  public Adapter createCheckBoxAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.CheckedCheckBox <em>Checked Check Box</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.CheckedCheckBox
   * @generated
   */
  public Adapter createCheckedCheckBoxAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.UncheckedCheckBox <em>Unchecked Check Box</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.UncheckedCheckBox
   * @generated
   */
  public Adapter createUncheckedCheckBoxAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.Label <em>Label</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.Label
   * @generated
   */
  public Adapter createLabelAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for an object of class '{@link de.rwth.adroidGuiLang.EditText <em>Edit Text</em>}'.
   * <!-- begin-user-doc -->
   * This default implementation returns null so that we can easily ignore cases;
   * it's useful to ignore a case when inheritance will catch all the cases anyway.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @see de.rwth.adroidGuiLang.EditText
   * @generated
   */
  public Adapter createEditTextAdapter()
  {
    return null;
  }

  /**
   * Creates a new adapter for the default case.
   * <!-- begin-user-doc -->
   * This default implementation returns null.
   * <!-- end-user-doc -->
   * @return the new adapter.
   * @generated
   */
  public Adapter createEObjectAdapter()
  {
    return null;
  }

} //AdroidGuiLangAdapterFactory
